package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

/**
 * 商会晋升跨服
 */
@FieldTypeAnnotation(tableName = "t_c_cross_union_upgrade_log")
public class LogUnionUpgradeCross {

    @FieldTypeAnnotation(desc = "分组")
    private int groupId;

    @FieldTypeAnnotation(desc = "商会")
    private String unionUid;

    @FieldTypeAnnotation(desc = "区服id")
    private long serverId;

    @FieldTypeAnnotation(desc = "商会会长")
    private long masterUserId;

    @FieldTypeAnnotation(desc = "时间")
    private Date logTime;

    public LogUnionUpgradeCross(int groupId, String unionUid, long serverId, long masterUserId) {
        this.groupId = groupId;
        this.unionUid = unionUid;
        this.serverId = serverId;
        this.masterUserId = masterUserId;
        this.logTime = new Date();
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public String getUnionUid() {
        return unionUid;
    }

    public void setUnionUid(String unionUid) {
        this.unionUid = unionUid;
    }

    public long getServerId() {
        return serverId;
    }

    public void setServerId(long serverId) {
        this.serverId = serverId;
    }

    public long getMasterUserId() {
        return masterUserId;
    }

    public void setMasterUserId(long masterUserId) {
        this.masterUserId = masterUserId;
    }

    public Date getLogTime() {
        return logTime;
    }

    public void setLogTime(Date logTime) {
        this.logTime = logTime;
    }
}
